//
//  UIView+ExtraMethod.h
//  Twidde
//
//  Created by admin on 15/6/19.
//  Copyright (c) 2015年 FreeStyle. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (ExtraMethod)
//分类只能扩展方法,所以这里使用属性并不会生成下划线开头的成员变量,利用property帮我生成getter,setter方法的声明,在.m文件里重写这些方法
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;
@end
